package com.lgy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lgy.model.dto.UserDto;
import com.lgy.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<UserDto> searchByAges(@Param("ages") List<Integer> ages);
}
